﻿<UserControl x:Class="DPChangedExtension.DemoControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             d:DesignHeight="300"
             d:DesignWidth="400">
    <StackPanel>
        <TextBlock Text="DataContext" />
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="OLD:"
                       Margin="0,0,5,0" />
            <TextBlock x:Name="DataContextOldTextBlock" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="NEW:"
                       Margin="0,0,5,0" />
            <TextBlock x:Name="DataContextNewTextBlock" />
        </StackPanel>

        <TextBlock Text="IsHitTestVisible"
                   Margin="0,15,0,0" />
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="OLD:"
                       Margin="0,0,5,0" />
            <TextBlock x:Name="IsHitTestVisibleOldValueTextBlock" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="NEW:"
                       Margin="0,0,5,0" />
            <TextBlock x:Name="IsHitTestVisibleNewValueTextBlock" />
        </StackPanel>
    </StackPanel>
</UserControl>